<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>个人中心</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="/zhenze/Public/home/css/reset.css"/>
		<link rel="stylesheet" href="/zhenze/Public/home/css/gerenzhongxin.css" />
		<link rel="stylesheet" href="/zhenze/Public/home/css/font-awesome.min.css" />
	</head>
	<body>
		<div class="top">
			<a href="<?php echo U('index/index');?>"><i class="fa fa-angle-left"></i></a>
			<p>个人中心</p>
		</div>
		<div class="cont">
			<a href="<?php echo U('index/myinfo');?>"><img src="<?php echo ($userinfo["avatar"]); ?>" /></a>
			<p><?php echo ($userinfo["nickname"]); ?></p>
			<div class="clear"></div>
		</div>
		<button>佣金金额<br/><?php echo ($userinfo["money"]); ?>元</button>
		<ul style="margin-bottom: 1.075rem;">
			<li><a href="<?php echo U('index/myteam');?>"><img src="/zhenze/Public/home/img/icon01.png"/><p style="color:#000;">我的团队</p><p><?php echo ($teamcount); ?>人</p></a></li>
			<li><a href="<?php echo U('index/mycharge');?>"><img src="/zhenze/Public/home/img/icon05.png"/><p style="color: #000;">我的佣金</p><p><?php echo ($userinfo["money"]); ?>元</p></a></li>
			<li><a href="<?php echo U('index/myorder');?>"><img src="/zhenze/Public/home/img/icon02.png"/><p style="color:#000;">销售订单</p><p><?php echo ($sellcount); ?>个</p></a></li>
			<li><a href="<?php echo U('index/myqrcode');?>"><img src="/zhenze/Public/home/img/icon06.png"/><p style="color:#000;">我的二维码</p><p>可分享推广</p></a></li>
			<div class="clear"></div>
		</ul>
		<ul>
			<li><a href="<?php echo U('index/withdraw');?>"><img src="/zhenze/Public/home/img/icon03.png"/><p style="color:#000;">申请提现</p><p>可提<?php echo ($userinfo["money"]); ?>元</p></a></li>
			<li><a href="<?php echo U('index/topup');?>"><img src="/zhenze/Public/home/img/icon07.png"/><p style="color:#000;">充话费</p><p>可充话费</p></a></li>
			<li><a href="<?php echo U('index/selllist');?>"><img src="/zhenze/Public/home/img/icon04.png"/><p style="color:#000;">销售排行</p><p>
			<?php if($rankcount == 0 ): ?>暂无排名
			<?php else: ?>
			第<?php echo ($rankcount); ?>名<?php endif; ?>
			</p></a></li>
			<li><a href="<?php echo U('index/withdrawlist');?>"><img src="/zhenze/Public/home/img/icon08.png"/><p style="color:#000;">提现记录</p><p><?php echo ($amount); ?>元</p></a></li>
			<li><a href="<?php echo U('index/topuplist');?>"><img src="/zhenze/Public/home/img/icon04.png"/><p style="color:#000;">充值记录</p><p><?php echo ($topupcount); ?>次</p></a></li>
			<li><a href="<?php echo U('index/myevent');?>"><img src="/zhenze/Public/home/img/grzx03.png"/><p style="color:#000;">参与活动</p><p><?php echo ($Eventcount); ?>次</p></a></li>
			<li><a href="<?php echo U('index/myreserve');?>"><img src="/zhenze/Public/home/img/grzx03.png"/><p style="color:#000;">我的预约</p><p><?php echo ($myreservecount); ?>个</p></a></li>
			<div class="clear"></div>
		</ul>
		<script src="/zhenze/Public/home/js/screenSize.js" type="text/javascript" charset="utf-8"></script>
	</body>
</html>